package com.ktgj.hotel.service;

import java.util.List;
import java.util.Map;

import com.ktgj.hotel.domain.HotelOrderPaydetail;
import com.ktgj.pay.api.domain.YeeBaoResultApi;

/**
 * 支付明细
Service接口
 * 
 * @author ruoyi
 * @date 2021-12-08
 */
public interface IHotelOrderPaydetailService 
{
    /**
     * 查询支付明细

     * 
     * @param paydetailid 支付明细
ID
     * @return 支付明细

     */
    public HotelOrderPaydetail selectHotelOrderPaydetailById(Long paydetailid);

    /**
     * 查询支付明细
     *
     * @param orderid 订单ID
     * @return 支付明细

     */
    public HotelOrderPaydetail selectHotelOrderPaydetailByorderId(Long orderid);

    /**
     * 查询支付明细
列表
     * 
     * @param hotelOrderPaydetail 支付明细

     * @return 支付明细
集合
     */
    public List<HotelOrderPaydetail> selectHotelOrderPaydetailList(HotelOrderPaydetail hotelOrderPaydetail);

    /**
     * 新增支付明细

     * 
     * @param hotelOrderPaydetail 支付明细

     * @return 结果
     */
    public int insertHotelOrderPaydetail(HotelOrderPaydetail hotelOrderPaydetail);

    /**
     * 修改支付明细

     * 
     * @param hotelOrderPaydetail 支付明细

     * @return 结果
     */
    public int updateHotelOrderPaydetail(HotelOrderPaydetail hotelOrderPaydetail);

    /**
     * 修改支付明细
     *
     * @param hotelOrderPaydetail 支付明细
     * @return 结果
     */
    public int updateOrderPaydetailByOrderId(HotelOrderPaydetail hotelOrderPaydetail);

    /**
     * 批量删除支付明细

     * 
     * @param paydetailids 需要删除的支付明细
ID
     * @return 结果
     */
    public int deleteHotelOrderPaydetailByIds(Long[] paydetailids);

    /**
     * 删除支付明细
信息
     * 
     * @param paydetailid 支付明细
ID
     * @return 结果
     */
    public int deleteHotelOrderPaydetailById(Long paydetailid);

    /**
     * 新增酒店支付信息
     * */
    public int addHotelOrderPaydetail(YeeBaoResultApi yeeBaoResultApi, Map<String, Object> map);

    /**
     * 添加交际记录号
     */
    public int updateHotelOrderPaydetailByOrderNum(HotelOrderPaydetail hotelOrderPaydetail);
}
